package com.yanmaohu.nikita.data.expression;

import com.yanmaohu.nikita.data.structure.StructureInstance;

/**
 * @author Bright Lee
 */
public final class StructureInstanceExpression extends Expression {

    private StructureInstance structureInstance;

    public StructureInstanceExpression(StructureInstance structureInstance) {
        super(structureInstance.getBeginIndex(), structureInstance.getEndIndex());
        this.structureInstance = structureInstance;
    }

    public StructureInstance getStructureInstance() {
        return structureInstance;
    }

}
